package com.xy.smartplatfrom.mapper;

import com.xy.smartplatfrom.pojo.UserOnline;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

public interface UserOnlineMapper {

    void addOnlineData(UserOnline userOnline);

    @Select(" select * from sys_user_online where login_name=#{LoginName} ")
    UserOnline selectByLoginName(String LoginName);
    @Delete(" delete from sys_user_online where login_name=#{LoginName} ")
    void deleteByLoginName(String LoginName);
}
